package com.yyk.springserviceone.facade;

import com.yyk.config.commonService.response.YYKCloudResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ljp
 * @CLASSNAME OneFacade
 * @date 2021/1/18 16:32
 * @description：
 */
@FeignClient(name = "one-service")
public interface OneFacade {

    @GetMapping(path = "one/getOneInfo/{id}")
    YYKCloudResponse<String> getOneInfo(@PathVariable("id") String id);
}
